<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>메뉴test</title>

<script type="text/javascript" src="/farm/css/js/menu.js"></script>
<link rel="stylesheet" media="all" type="text/css" href="/farm/css/menu.css">

</head>
<body>
<div align="center">
	<img src="/farm/images/Header-3.jpg" width="100%">
</div>
<table width="100%" border="0" class="HTABLE">
	<s:if test='%{session.id == null }'>
		<td class="cm" align="right" width="500">
			<a href="loginForm.action">로그인</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="idFindForm.action">아이디 찾기</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="passwordFindForm.action">비밀번호 찾기</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="memberInsert.action">회원가입</a>&nbsp;&nbsp;&nbsp;&nbsp;
		
		</td>

		
	</s:if>
	
	<s:else>
	<s:if test='%{session.power.equals("0")}'>
		<td class="cm" align="right">
			<input type="button" value="관리자페이지" onClick="javascript:location.href='adminMemberList.action'">
		</td>
	</tr>
</s:if>
		<td class="cm" align="right">
			${session.id}님 환영합니다.&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="logout.action">로그아웃</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="memberModify.action">마이페이지</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="passwordCheck.action">회원탈퇴</a>&nbsp;&nbsp;&nbsp;&nbsp;
		</td>
	</s:else>
	</table>


</body>
</html>

